package com.zzq.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.io.Resource;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "k8s")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class K8sProperties {


    @Value("admin-conf")
    private Resource adminConf;
}
